package com.ytjj.qmyx.users.service.impl;

import com.ytjj.qmyx.users.dao.MessageDao;
import com.ytjj.qmyx.users.service.MessageService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;


@Service
@AllArgsConstructor
public class MessageServiceImpl implements MessageService {

    private MessageDao messageDao;

    @Override
    public int selectMessage(String phone, Integer messageId) {
        return messageDao.selectMessage(phone,messageId);
    }
}
